import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

import Course from '@/views/course/Course.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: Home
  },
  {
    path: '/course',
    name: 'course',
    component: Course
  }
]

const router = new VueRouter({
  routes
})

export default router
